const spread = [12, 5, 8, 8, 130, 44, 130]
const { uniq } = require('lodash'); // 解构出lodash中的uniq方法
console.log(uniq(spread));